/* button 样式*/
button {
    background-color: white;
    border: 0.1rem solid #0044BB;
    color: #0044BB;
    border-radius: 0.2rem;
    cursor: pointer;
    height: 1.5rem;
    text-align: center;
    line-height: 1.2rem;
    padding: 0;
    margin: 0;
    margin-left: 0.5rem;
    width: 6rem;

}

button.reflash, button.lock{
    height: 1.5rem;
    width: 1.5rem;
    vertical-align:middle;
}

button.wait {
    color: white !important;
    position: relative;
}

button.wait:hover {
    color: #0044BB !important;
}

button.wait:disabled {
    color: rgb(219, 219, 219) !important;
}

button.wait::after {
    content: "";
    background-image: url('./wait.gif');
    background-size: 90%;
    background-position: 50%;
    color: #0044BB;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

button:hover {
    background-color: #0044BB;
    color: white;
}

button.color-red:hover {
    background-color: red;
    color: white;
}

button:disabled {
    background-color: rgb(219, 219, 219);
    border-color: rgb(196, 196, 196);
    color: black;
    cursor: not-allowed;
}

/* button 样式 end */

body {
    text-shadow: 0 0 1px gray, 0 0 1px gray, 0 0 1px gray;
}

.clearfix::after {
    /*清除浮动*/
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.marsk{
    height: 100%;
    width: 100%;
    z-index: 3000;
    position: fixed;
    left:0;
    top: 0;
    /* background-color: red; */
}

.hidden {
    display: none !important;
}

input.wrong{
    color: red !important;
    border: 1px solid red !important;
}

.color-red{
    color: red;
    border-color: red;
}

.search-row {
    height: 2rem;
}

.result {
    /*<hr> 高18px */
    height: calc(100% - 2rem - 18px);
    overflow-x: hidden;
    overflow-y: auto;
}

.search-row *[name] {
    width: 8rem;
    margin-right: 5rem;

}

.result .table{
    color: inherit;
}

.result .table-thead {
    /*浮动后宽度为body宽度 body有9px的margin*/
    width: calc(100% - 16px);
    position: fixed;
    top: calc(2rem + 18px);
    height: 2rem;
    margin: 0;
    white-space: nowrap;
    border-collapse: collapse;
    text-shadow: 0 0 1px gray, 0 0 1px gray, 0 0 1px gray;
    background-color: rgba(255, 255, 255, 0.205);
    user-select: none;
    color: inherit;
}

.result .table-tbody {
    width: 100%;
    margin: 0;
    margin-top: 2rem;
    white-space: nowrap;
    border-collapse: collapse;
    text-shadow: 0 0 1px gray, 0 0 1px gray, 0 0 1px gray;
    background-color: rgba(255, 255, 255, 0.205);
    color: inherit;
}

.result td,
.result th {
    height: 2rem;
    width: calc(100% / 7);
    text-align: center;
}

.result tr {
    height: 2rem;
    border-bottom: 1px solid gray;
    unicode-bidi: isolate;
}

.result .table-tbody tr td input{
    width: calc( 100% - 2px);
    height:  calc( 100% - 2px);
    margin: auto;
    background: transparent;
    border: none;
    text-shadow: 0 0 1px gray, 0 0 1px gray, 0 0 1px gray;
    text-align: center;
    font-size: 1rem;
    color: inherit;
}

.result .table-tbody tr td input.keyword{
    color:#0044BB;
    font-weight: bold;
}

.result .table-tbody tr td:hover {
    /* background-color: rgba(128, 128, 128, 0.6);
    color: #FFF; */
}

.result .table-tbody tr:hover .hover-show{
    display: inline-block !important;
    vertical-align: top;
}